//
//  YunDanDetailHeaderView.h
//  阿帕
//
//  Created 阿帕 on 2019/12/27.
//  Copyright © 2019 GCY. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DriverVehicleModel.h"

NS_ASSUME_NONNULL_BEGIN

@protocol YunDanCenterDetailHeaderViewDelegate <NSObject>

- (void)tableHeaderViewClickEvent:(NSInteger)index andTitle:(NSString *)title;

- (void)jiedanBtnClickEvent:(NSInteger)takeOrderType vehicleCode:(NSString *)vehicleCode;

@end

@interface YunDanDetailHeaderView : UIView

@property(nonatomic, strong)NSDictionary *infoDetailDic;

@property (weak, nonatomic) id <YunDanCenterDetailHeaderViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame takeOrderType:(NSInteger)takeOrderType Dict:(NSDictionary *)dic;
/// 车辆数组
@property(nonatomic, strong) NSArray<DriverVehicleModel *> *vehicleArr;

@end

NS_ASSUME_NONNULL_END
